﻿using System.Windows;

namespace TheGameClient.Administration.Dialogs
{
	public partial class DlgCreateNewDirectory
	{
		public DlgCreateNewDirectory()
		{
			InitializeComponent();
		}

		public string DirectoryName { get; private set; }

		private void OkButtonClick(object sender, RoutedEventArgs e)
		{
			DirectoryName = txtDirectoryName.Text;
			DialogResult = true;
		}

		private void CancelButtonClick(object sender, RoutedEventArgs e)
		{
			DialogResult = false;
		}
	}
}